package com.hailong.zyt.beans;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author hailong
 * @since 2021-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("course_uncheck")
public class CourseUncheck implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("cou_id")
    private Long couId;

    @TableField("tea_id")
    private Long teaId;

    @TableField("stu_id")
    private Long stuId;

    @TableField("uc_state")
    private Integer ucState; //0表示未处理，1表示同意，2表示拒绝

    @TableField(exist = false)
    private Student student;

    @TableField(exist = false)
    private Course course;

    public CourseUncheck(Long couId, Long teaId, Long stuId) {
        this.couId = couId;
        this.teaId = teaId;
        this.stuId = stuId;
    }
}
